package com.bcu.calculus.mapper;

import com.bcu.calculus.entity.Semester;

import java.util.List;

public interface SemesterMapper {
    int deleteByPrimaryKey(Integer semId);

    int insert(Semester semester);

    int insertSelective(Semester semester);

    Semester selectByPrimaryKey(Integer semId);

    int updateByPrimaryKeySelective(Semester semester);

    int updateByPrimaryKey(Semester semester);

    List<Semester> selectAllSemester();

    Semester findNowSemester();

    Integer findHaveOneNowSemester();
}